package com.aura.aetherai.demo.invoke;

import com.aura.aetherai.demo.TestApiKey;
import dev.langchain4j.community.model.dashscope.QwenChatModel;
import dev.langchain4j.model.chat.ChatLanguageModel;

public class LangChainAiInvoke {
    public static void main(String[] args) {
        ChatLanguageModel qwenChatModel = QwenChatModel.builder()
                .apiKey(TestApiKey.API_KEY)
                .modelName("qwen-plus")
                .build();

        String chat = qwenChatModel.chat("我是住在北京昌平的牛马打工人,每天坐昌平线去西土城上班,在合思当Java实习生");
        System.out.println(chat);
    }
}
